﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Portal.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="CSS/style.css" rel="stylesheet" rev="stylesheet" />
    <link href="CSS/global.css" rel="stylesheet" rev="stylesheet" />
    <script src="/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="loginBox">
        <table class="loginTable">
            <tr>
                <th>
                    <strong>用户名:</strong>
                </th>
                <td>
                    <input id="txtUserName" runat="server" type="text" class="loginInput" />
                </td>
            </tr>
            <tr>
                <th>
                    <strong class="loginpass">密 码:</strong>
                </th>
                <td>
                    <input id="txtPassWord" runat="server" type="password" class="loginInput" />
                </td>
            </tr>
            <tr>
                <th>
                    &nbsp;
                </th>
                <td>
                    <input type="checkbox" value="" id="rember" /><label class="ml5" for="rember">记住我</label>
                </td>
            </tr>
            <tr>
            <td></td>
                <td >
                    <asp:Label ID="litMsg" runat="server" Text="" style="color:Red"></asp:Label>
                
                </td>
            </tr>
            <tr>
                <th>
                    &nbsp;
                </th>
                <td>
                    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="images/bot1.gif" 
                         onclick="ImageButton1_Click" />
                    <input type="image" src="images/bot2.gif"
                        value="" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
<script type="text/javascript">
    function CheckInput() {
        if ($("#txtUserName").val() == "") {
            return false;
        } if ($("#txtUserName").val() == "") {
            return false;
        } else {
            return true;
        }
    }
</script>
